#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <map>
using namespace std;

typedef pair<int, int> PII;

bool cmp(PII v1, PII v2)
{
	return v1.second > v2.second;
}

int main() {
	//string s;

	//const char* p = "fasjjg";
	//string s(p);

	/*string s = "sgsga";
	string b(s);*/

	vector<int> a(5, 10);
	/*for (int i = 1, j = 0; i < a.size(); ++i, ++j) {
		cout << a[i - j] << " ";
	}*/

	map<int, int> map;
	map[1] = 1;
	map[2] = 2;
	map[3] = 3;
	map[4] = 4;

	sort(map.begin(), map.end(), cmp);



	return 0;
}